export default {
  methods: {
    async $back () {
      const { isBackApp } = this.$route.query || {}
      const { history } = window
      if (isBackApp || history.length <= 1 || !history.state) {
        // 关闭所有页面
      }
      this.$router.go(-1)
    }
  }
}
